package com.jf.cloud.service.sysmanager.entity;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * <p>
 * 后台用户受理顶大的权限
 * </p>
 *
 * @author LangK
 * @since 2017-12-04
 */
@Entity
@Table(name = "sys_staff_order_power")
public class SysStaffOrderPower extends BaseEntity {

    private static final long serialVersionUID = 1L;
	@Id
	@GeneratedValue(strategy= GenerationType.IDENTITY)
	@Column(name = "ROW_ID", nullable = false)
	protected Long rowId;

	public Long getRowId() {
		return rowId;
	}

	public void setRowId(Long rowId) {
		this.rowId = rowId;
	}
    /**
     * 员工ID
     */
	@Column(name = "EMP_ID")
	private Long empId;
    /**
     * 员工账号
     */
	@Column(name = "EMP_ACCOUNT")
	private String empAccount;
    /**
     * 权限类型ID
            
            统一状态表进行配置
            
            10 商城客服
            20 寄售客服
            30 担保客服
            40 账号客服
            50 点卡客服
            60 交易客服
            70 自动交易
            
            2000 手游寄售客服
            2100 手游账号客服
            2200 手游交易员
     */
	@Column(name = "ORDER_POWER_ID")
	private Long orderPowerId;
    /**
     * 权限类型描述
     */
	@Column(name = "ORDER_POWER_DES")
	private String orderPowerDes;
    /**
     * 游戏ID
     */
	@Column(name = "GAME_ID")
	private Long gameId;
    /**
     * 游戏名字
     */
	@Column(name = "GAME_NAME")
	private String gameName;
    /**
     * 点卡类型D
     */
	@Column(name = "CARD_TYPE_D")
	private Long cardTypeD;
    /**
     * 点卡类型名称
     */
	@Column(name = "CARD_TYPE_NAME")
	private String cardTypeName;


	public Long getEmpId() {
		return empId;
	}

	public void setEmpId(Long empId) {
		this.empId = empId;
	}

	public String getEmpAccount() {
		return empAccount;
	}

	public void setEmpAccount(String empAccount) {
		this.empAccount = empAccount;
	}

	public Long getOrderPowerId() {
		return orderPowerId;
	}

	public void setOrderPowerId(Long orderPowerId) {
		this.orderPowerId = orderPowerId;
	}

	public String getOrderPowerDes() {
		return orderPowerDes;
	}

	public void setOrderPowerDes(String orderPowerDes) {
		this.orderPowerDes = orderPowerDes;
	}

	public Long getGameId() {
		return gameId;
	}

	public void setGameId(Long gameId) {
		this.gameId = gameId;
	}

	public String getGameName() {
		return gameName;
	}

	public void setGameName(String gameName) {
		this.gameName = gameName;
	}

	public Long getCardTypeD() {
		return cardTypeD;
	}

	public void setCardTypeD(Long cardTypeD) {
		this.cardTypeD = cardTypeD;
	}

	public String getCardTypeName() {
		return cardTypeName;
	}

	public void setCardTypeName(String cardTypeName) {
		this.cardTypeName = cardTypeName;
	}


	@Override
	public String toString() {
		return "SysStaffOrderPower{" +
			", empId=" + empId +
			", empAccount=" + empAccount +
			", orderPowerId=" + orderPowerId +
			", orderPowerDes=" + orderPowerDes +
			", gameId=" + gameId +
			", gameName=" + gameName +
			", cardTypeD=" + cardTypeD +
			", cardTypeName=" + cardTypeName +
			"}";
	}
}
